
import whole from './components/Whole.vue'
import resin from './components/resin.vue'
import release from './components/Release.vue'
import search from './components/search.vue'
import region from './components/region.vue'

export default[
    {path:'/whole',component:whole,
    children:[                      //正在热映里的子路由
        {
            path:'resin',
            component:resin
        },
        {
            path:'/whole',
            redirect:'/whole/resin'
        },
        {
            path:'release',
            component:release
        },
        {
            path:'search',
            component:search
        },
        {
            path:'region',
            component:region
        }
    ]
    },
    {path:'/',redirect:'/whole'}
]